#include <stdio.h>

int main() {
    int num1, num2;
    char q;
    int result;
    
    
    if (scanf("%d%c%d", &num1, &q, &num2) == 3) {
        printf("%d%c%d=", num1, q, num2);
        
        switch (q) {
            case '+':
                result = num1 + num2;
                break;
            case '-':
                result = num1 - num2;
                break;
            case '*':
                result = num1 * num2;
                break;
            case '/':
                if (num2 != 0) {
                    result = num1 / num2;
                } else {
                
                    return 1;
                }
                break;
            case '%':
                result=num1%num2;
                break;
        }
        
        printf("%d", result);
    } 
    
    
    return 0;
}